//
//  OrdersViewController.h
//  Restaurant
//
//  Created by wanghuan on 15/4/24.
//  Copyright (c) 2015年 wanghuan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "shoppingModel.h"
#import "OrderTableViewCell.h"
#import "CommentsViewController.h"
#import <AFNetworking.h>
#import "LoginViewController.h"
#import "SavaMerchantId.h"

@interface OrdersViewController : UIViewController <UITableViewDataSource,UITableViewDelegate,UIAlertViewDelegate>
{

    UITableView *_MyTableView;
    
    NSArray *_payStyleArr;
    
    NSMutableArray *_shopArray;
    
    AFHTTPRequestOperationManager *_manager;
    
    //判断当前视图的状态
    
    BOOL IsViewState;
    
    //记录支付类型的cell的index
    NSIndexPath *cellIndexPath;
}

@property (strong, nonatomic) NSMutableArray *shopMutArray;
//总价
@property (strong, nonatomic) NSString *price;
//备注
@property (strong, nonatomic) NSString *remark;
//支付类型
@property (strong, nonatomic) NSString *payType;
//总价
@property (assign ,nonatomic) double totalPrice;
//userID
@property (strong, nonatomic) NSString *userId;
//商家Id
@property (strong, nonatomic) NSString *merchantId;
//菜单
@property (strong, nonatomic) NSMutableArray *OrderArr;
//记录备注按钮选项
@property (strong, nonatomic) NSMutableArray *commentArr;

//记录更多要求文本
@property (strong, nonatomic) NSString *commentDemend;

- (IBAction)backClick:(UIButton *)sender;

@end
